/**
 * FileName: ConfigClient2Controller
 * Author:   杨兴
 * Date:     2019/8/16 15:53
 * Description: ceshi
 */
package com.xiongmao.gongyu;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfigClient2Controller {
    @Value("${server.port}")
    private String name;
    @Value("${yangxing}")
    private String url;

    @RequestMapping(value="getData")
    public String getData(){
        return null;
    }
}
